import request from '@/utils/request';

export function getBookList(data) {
  return request({
    url: '/Book/GetBookList',
    method: 'post',
    data
  });
}

export function getBookInfo(data) {
  return request({
    url: '/Book/GetBookInfo?BookID=' + data,
    method: 'get'
  });
}

export function saveBookInfo(data) {
  return request({
    url: '/Book/SaveBookInfo',
    method: 'post',
    data
  });
}

export function setBookState(data) {
  return request({
    url: '/Book/SetBookState',
    method: 'post',
    data
  });
}



